import { App } from './App';

import { Header } from '../componets/header';
import { Footer } from '../componets/footer';
import { CartBoard } from '../componets/cart_board'

class Cart extends App {
  constructor () {
    super({
      swiper: false,
      phone: true,
      field: true
    })
  }
  render () {
    new Header(this.$app, this.cache.filedDatas, this.cache.phoneDatas).init();
    new CartBoard(this.$app).init();
    new Footer(this.$app).init();
    $('body').prepend(this.$app);
  }
}
new Cart();